package hk.edu.polyu.comp.motioncapture;

public class TrackPoint {
	public double x;
	public double y;

	public double dx;
	public double dy;

	public double dx2;
	public double dy2;

	public TrackPoint previous;
	public TrackPoint next;

	public TrackPoint() {
		this(0, 0);
	}

	public TrackPoint(double x, double y) {
		this(x, y, 0, 0, 0, 0, null, null);
	}

	public TrackPoint(double x, double y, double dx, double dy, double dx2,
			double dy2, TrackPoint previous, TrackPoint next) {
		this.x = x;
		this.y = y;

		this.dx = dx;
		this.dy = dy;

		this.dx2 = dx2;
		this.dy2 = dy2;

		this.previous = previous;
		this.next = next;
	}
}
